// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 新增售后跟进 POST /fds/after_sales/addAfterSalesFollowUp */
export async function addSvBusClassUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addSvBusClassUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/addAfterSalesFollowUp', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增售后 POST /fds/after_sales/addAfterSalesRecord */
export async function addAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addAfterSalesRecordUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_38>('/fds/after_sales/addAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增售后供应商往来账 POST /fds/after_sales/addSvAcclog */
export async function addSvAcclogUsingPOST(
  body: API.SvpCurAccParam,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_36>('/fds/after_sales/addSvAcclog', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 新增售后分类 POST /fds/after_sales/addSvBusClass */
export async function addSvBusClassUsingPOST1(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addSvBusClassUsingPOST1Params,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_33>('/fds/after_sales/addSvBusClass', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增业务 POST /fds/after_sales/addSvBusiness */
export async function addSvBusinessUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addSvBusinessUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_34>('/fds/after_sales/addSvBusiness', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 新增售后供应商 POST /fds/after_sales/addSvSupplies */
export async function addSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addSvSuppliesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_37>('/fds/after_sales/addSvSupplies', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 审核往来账 POST /fds/after_sales/checkSvAcclog */
export async function checkSvAcclogUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.checkSvAcclogUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/checkSvAcclog', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除售后跟进记录 POST /fds/after_sales/deleteAfterSalesFollowUp */
export async function deleteAfterSalesFollowUpUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteAfterSalesFollowUpUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/deleteAfterSalesFollowUp', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 删除售后记录 POST /fds/after_sales/deleteAfterSalesRecord */
export async function deleteSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteSvOrderUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/deleteAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销往来账 POST /fds/after_sales/deleteSvAcclog */
export async function deleteSvAcclogUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.deleteSvAcclogUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/deleteSvAcclog', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后跟进记录列表 POST /fds/after_sales/exportAfterSalesFollowUpList */
export async function exportAfterSalesFollowUpListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportAfterSalesFollowUpListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportAfterSalesFollowUpList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后记录列表 POST /fds/after_sales/exportAfterSalesRecordList */
export async function exportAfterSalesRecordListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportAfterSalesRecordListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportAfterSalesRecordList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后往来账列表 POST /fds/after_sales/exportSvAcclogList */
export async function exportSvAcclogListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportSvAcclogListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportSvAcclogList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后分类列表 POST /fds/after_sales/exportSvBusClassList */
export async function exportSvBusClassListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportSvBusClassListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportSvBusClassList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后业务列表 POST /fds/after_sales/exportSvBusinessList */
export async function exportSvBusinessListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportSvBusinessListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportSvBusinessList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出售后供应商列表 POST /fds/after_sales/exportSvSuppliesList */
export async function exportSvSuppliesListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportSvSuppliesListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/after_sales/exportSvSuppliesList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 完成售后记录 POST /fds/after_sales/finishAfterSalesRecord */
export async function finishSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.finishSvOrderUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/finishAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后跟进记录列表 POST /fds/after_sales/getAfterSalesFollowUpList */
export async function getAfterSalesFollowUpListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAfterSalesFollowUpListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultSvMsgDto_>('/fds/after_sales/getAfterSalesFollowUpList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后记录 POST /fds/after_sales/getAfterSalesRecord */
export async function getAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAfterSalesRecordUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.SvOrderDto>('/fds/after_sales/getAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后记录列表 POST /fds/after_sales/getAfterSalesRecordList */
export async function getAfterSalesRecordListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAfterSalesRecordListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultSvOrderDto_>('/fds/after_sales/getAfterSalesRecordList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后设置 POST /fds/after_sales/getAfterSalesSetting */
export async function getAfterSalesSettingUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAfterSalesSettingUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult39>('/fds/after_sales/getAfterSalesSetting', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 查询售后往来账订单详情 GET /fds/after_sales/getSvAcclogDetail */
export async function getSvAcclogDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvAcclogDetailUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_61>('/fds/after_sales/getSvAcclogDetail', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后往来账列表 GET /fds/after_sales/getSvAcclogList */
export async function getSvAcclogListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvAcclogListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult33>('/fds/after_sales/getSvAcclogList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后分类列表 POST /fds/after_sales/getSvBusClassList */
export async function getSvBusClassListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvBusClassListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultSvBusiclsDto_>('/fds/after_sales/getSvBusClassList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取业务 GET /fds/after_sales/getSvBusiness */
export async function getSvBusinessUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvBusinessUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_34>('/fds/after_sales/getSvBusiness', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后业务列表 POST /fds/after_sales/getSvBusinessList */
export async function getSvBusinessListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvBusinessListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultSvBusinessDto_>('/fds/after_sales/getSvBusinessList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后供应商详情 POST /fds/after_sales/getSvSupplies */
export async function getSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvSuppliesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_37>('/fds/after_sales/getSvSupplies', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取售后供应商列表 GET /fds/after_sales/getSvSuppliesList */
export async function getSvSuppliesListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getSvSuppliesListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult24>('/fds/after_sales/getSvSuppliesList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 撤销售后记录 POST /fds/after_sales/revokeAfterSalesRecord */
export async function revokeSvOrderUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.revokeSvOrderUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/revokeAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 反审核往来账 POST /fds/after_sales/unCheckSvAcclog */
export async function unCheckSvAcclogUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.unCheckSvAcclogUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/unCheckSvAcclog', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 更新售后记录 POST /fds/after_sales/updateAfterSalesRecord */
export async function updateAfterSalesRecordUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateAfterSalesRecordUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_38>('/fds/after_sales/updateAfterSalesRecord', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改售后设置 POST /fds/after_sales/updateAfterSalesSetting */
export async function updateAfterSalesSettingUsingPOST(
  body: API.Pinyin_95[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/after_sales/updateAfterSalesSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 修改往来账订单详情 POST /fds/after_sales/updateSvAcclogDetail */
export async function updateSvAcclogDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateSvAcclogDetailUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_36>('/fds/after_sales/updateSvAcclogDetail', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改售后分类 POST /fds/after_sales/updateSvBusClass */
export async function updateSvBusClassUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateSvBusClassUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_33>('/fds/after_sales/updateSvBusClass', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改业务 POST /fds/after_sales/updateSvBusiness */
export async function updateSvBusinessUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateSvBusinessUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_34>('/fds/after_sales/updateSvBusiness', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 更新售后供应商 POST /fds/after_sales/updateSvSupplies */
export async function updateSvSuppliesUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateSvSuppliesUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_37>('/fds/after_sales/updateSvSupplies', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
